#include <stdio.h>
#include <stdlib.h>
void main()
{
    int Time;
    printf("please enter time value:");
    scanf("%d",&Time);
    printf("time=%d\n",Time);
    switch (Time)
    {
    case 1:printf("today is monday\n");break;
    case 2:printf("today is tuesday\n");break;
    case 3:printf("today is wednesday\n");break;
    case 4:printf("today is thursday\n");break;
    case 5:printf("today is friday\n");break;
    case 6:printf("today is saturday\n");break;
    case 7:printf("today is sunday\n");break;
    default:printf("no information\n");break;
    }
    system("pause");//调用系统函数实现暂时保留控制台
}